package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderGoodsDao;
import com.appkubes.mall.core.entity.MallOrderGoods;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderGoodsService extends AbstractBaseService<BaseMallOrderGoodsDao, MallOrderGoods> {

    MallOrderGoods getOneByEntity(MallOrderGoods entity);

    List<MallOrderGoods> selectListByEntity(MallOrderGoods entity);

    IPage<MallOrderGoods> selectPageByEntity(IPage<MallOrderGoods> page);
    IPage<MallOrderGoods> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderGoods> selectPageByEntity(MallOrderGoods entity, IPage<MallOrderGoods> page);
    IPage<MallOrderGoods> selectPageByEntity(MallOrderGoods entity, PageVO pageVO);

    IPage<MallOrderGoods> selectPageByEntity(MallOrderGoods entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderGoods entity);
}
